package com.ygqh.baby.po;

import java.math.BigDecimal;
import java.util.Date;

import com.ygqh.baby.ao.CouponStatus;
import com.ygqh.baby.ao.DataStatus;

public class YgCouponDetail {
	private Long id;

	private String couponCode;

	private Long couponBatchId;

	private Long userId;

	private String userName;

	private BigDecimal faceValue;

	private Date leadTime;

	private Date useTime;

	private CouponStatus useStatus;

	private DataStatus status;

	private Boolean onLine;

    private Date startDate;

    private Date endDate;

    private String executor;

    private String remark;

	// ==========Column end===========

	private YgCoupon coupon;


    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getExecutor() {
        return executor;
    }

    public void setExecutor(String executor) {
        this.executor = executor;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public YgCoupon getCoupon() {
		return coupon;
	}

	public void setCoupon(YgCoupon coupon) {
		this.coupon = coupon;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCouponCode() {
		return couponCode;
	}

	public void setCouponCode(String couponCode) {
		this.couponCode = couponCode == null ? null : couponCode.trim();
	}

	public Long getCouponBatchId() {
		return couponBatchId;
	}

	public void setCouponBatchId(Long couponBatchId) {
		this.couponBatchId = couponBatchId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName == null ? null : userName.trim();
	}

	public BigDecimal getFaceValue() {
		return faceValue;
	}

	public void setFaceValue(BigDecimal faceValue) {
		this.faceValue = faceValue;
	}

	public Date getLeadTime() {
		return leadTime;
	}

	public void setLeadTime(Date leadTime) {
		this.leadTime = leadTime;
	}

	public Date getUseTime() {
		return useTime;
	}

	public void setUseTime(Date useTime) {
		this.useTime = useTime;
	}

	public CouponStatus getUseStatus() {
		return useStatus;
	}

	public void setUseStatus(CouponStatus useStatus) {
		this.useStatus = useStatus == null ? null : useStatus;
	}

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status == null ? null : status;
	}

	public Boolean getOnLine() {
		return onLine;
	}

	public void setOnLine(Boolean onLine) {
		this.onLine = onLine;
	}

	@Override
	public String toString() {
		return "YgCouponDetail [id=" + id + ", couponCode=" + couponCode + ", couponBatchId=" + couponBatchId + ", userId=" + userId + ", userName=" + userName
				+ ", faceValue=" + faceValue + ", leadTime=" + leadTime + ", useTime=" + useTime + ", useStatus=" + useStatus + ", status=" + status
				+ ", onLine=" + onLine + ", coupon=" + coupon + "]";
	}

}